package cn.itcast.pojo;

import java.util.Date;
import java.util.List;

public class packageOrder {
    private Integer id;

    private String oldIds;

    private String openId;

    private String orderNumber;

    private Date orderTime;

    private String orderTimeString;//String类型的订单打包时间

    private String horsemanName;

    private String productType;

    private Double orderSumHorseman;

    private Double orderSumRecycle;

    private String province;

    private String city;

    private String region;

    private String recycleAddress;

    private String recycleNumber;

    private String recycleName;

    private String recycleChildrenNumber;

    private Date clearTime;

    private Date payTime;

    private String payTimeString;//string类型的支付时间

    private String status;

    private String orderExplain;

    private String merchantopenid;


    public String getMerchantopenid() {
        return merchantopenid;
    }

    public void setMerchantopenid(String merchantopenid) {
        this.merchantopenid = merchantopenid;
    }

    //一对多映射配置，一个打包订单有多个打包订单项
    private List<packageOrderItem> packageOrderItems;

    public List<packageOrderItem> getPackageOrderItems() {
        return packageOrderItems;
    }
    public void setPackageOrderItems(List<packageOrderItem> packageOrderItems) {
        this.packageOrderItems = packageOrderItems;
    }

    public String getOrderTimeString() {
        return orderTimeString;
    }

    public void setOrderTimeString(String orderTimeString) {
        this.orderTimeString = orderTimeString;
    }

    public String getPayTimeString() {
        return payTimeString;
    }

    public void setPayTimeString(String payTimeString) {
        this.payTimeString = payTimeString;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOldIds() {
        return oldIds;
    }

    public void setOldIds(String oldIds) {
        this.oldIds = oldIds == null ? null : oldIds.trim();
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber == null ? null : orderNumber.trim();
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public String getHorsemanName() {
        return horsemanName;
    }

    public void setHorsemanName(String horsemanName) {
        this.horsemanName = horsemanName == null ? null : horsemanName.trim();
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType == null ? null : productType.trim();
    }

    public Double getOrderSumHorseman() {
        return orderSumHorseman;
    }

    public void setOrderSumHorseman(Double orderSumHorseman) {
        this.orderSumHorseman = orderSumHorseman;
    }

    public Double getOrderSumRecycle() {
        return orderSumRecycle;
    }

    public void setOrderSumRecycle(Double orderSumRecycle) {
        this.orderSumRecycle = orderSumRecycle;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region == null ? null : region.trim();
    }

    public String getRecycleAddress() {
        return recycleAddress;
    }

    public void setRecycleAddress(String recycleAddress) {
        this.recycleAddress = recycleAddress == null ? null : recycleAddress.trim();
    }

    public String getRecycleNumber() {
        return recycleNumber;
    }

    public void setRecycleNumber(String recycleNumber) {
        this.recycleNumber = recycleNumber == null ? null : recycleNumber.trim();
    }

    public String getRecycleName() {
        return recycleName;
    }

    public void setRecycleName(String recycleName) {
        this.recycleName = recycleName == null ? null : recycleName.trim();
    }

    public String getRecycleChildrenNumber() {
        return recycleChildrenNumber;
    }

    public void setRecycleChildrenNumber(String recycleChildrenNumber) {
        this.recycleChildrenNumber = recycleChildrenNumber == null ? null : recycleChildrenNumber.trim();
    }

    public Date getClearTime() {
        return clearTime;
    }

    public void setClearTime(Date clearTime) {
        this.clearTime = clearTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getOrderExplain() {
        return orderExplain;
    }

    public void setOrderExplain(String orderExplain) {
        this.orderExplain = orderExplain == null ? null : orderExplain.trim();
    }
}